﻿using System;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridGroupChangedEventArgs : EventArgs
    {
        internal DataGridGroupChangedEventArgs(DataGridColumnValue<DataGridSortDirection>[] newGroupDescriptions, DataGridColumnValue<DataGridSortDirection>[] oldGroupDescriptions)
        {
            this.NewGroupedColumns = newGroupDescriptions;
            this.OldGroupedColumns = oldGroupDescriptions;
        }

        // Properties
        public DataGridColumnValue<DataGridSortDirection>[] NewGroupedColumns { get; private set; }

        public DataGridColumnValue<DataGridSortDirection>[] OldGroupedColumns { get; private set; }
    }
}
